package com.jingtao.service;

import com.jingtao.mapper.RightsMapper;
import com.jingtao.pojo.Rights;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RightsServiceImp implements RightsService{
    @Resource
    private RightsMapper rightsMapper;

    @Override
    public List<Rights> getRightsList() {
        return rightsMapper.getRightsList();
    }
}
